package com.thingple.uhf;

/**
 * 运行模式
 * Created by lism on 2017/7/26.
 */
public enum DeviceMode {
    STATUS(0, "运行状态"),
    START_INVENTORY(1, "开始盘点"),
    STOP_INVENTORY(2, "结束盘点"),
    WRITE_TAG(3, "写卡")
    ;

    private int code;
    private String desc;

    DeviceMode(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
